package day03;

public class zheday03 {
    public static void main(String[] args) {
        /*int a=1;//a=2
        int b=1;//b=2
        a++;//1 a=2
        b++;//1 b=2
        int c=a+++--b;//3|||||||||























        System.out.println(c);
        System.out.println(a++);//1
        System.out.println(a);//3
        System.out.println();//2
        System.out.println();//3*/
       /*int a=5,b=10,c=5;
        boolean a1 =a>b;
        System.out.println(a1);
        System.out.println(a>=b);
        System.out.println(c<b);
        System.out.println(a+c!=b);
        System.out.println(a%2>b);
        System.out.println(a++>b);//a=6
        System.out.println(a++>b);//a=7
        System.out.println(--a==c);//6 false*/








       /*int  a=1;
        System.out.println(a);    //因为a++参与运算所以a=2
        System.out.println(a++);  //因为a++所以还是a
        System.out.println(++a);  //因为++a上面的a等于2所以++a等3
        System.out.println();*/






        /*int a=5,b=10, c=5;
        System.out.println(a>b||b<c);
        System.out.println(a==b||c>b);
        System.out.println(a>=b||c<a);
        System.out.println(a==b||c==a);

        boolean a1=!(a>c);
        System.out.println(a1);
        System.out.println(!(b<a));
*/
        /*int a=5;
        System.out.println(a);
        a  +=10;
        System.out.println(a);
        a  *=2;
        System.out.println(a);
        a  /=6;
        System.out.println(a);
        a  %=2;
        System.out.println(a);



        short b=5;
        //b =b+10;
        b +=10;
        System.out.println(b);*/

       /* int age=18;
        System.out.println("age=");
        System.out.println(age);
        System.out.println("age="+ age);
        System.out.println("我今年，"+age+"岁了");


        String name ="阳光帅气大男孩";
        String want ="睡觉！";
        System.out.println("大家好，我叫"+name+",今年"+age+"岁了。"+"我的爱好是"+want);


        System.out.println(10+20+""+30);//3030
        System.out.println(""+10+20+30);//102030
        System.out.println(10+20+30+"");//60*/


        int num=6;
        int flag= num>0?1:-1;
        System.out.println(flag);


        int a=6; int b=5;
        int max=a>b?a:b;
        System.out.println(max);




















       /* int age=65;

        System.out.println(age>=18 && age<=60); // false
        */
    }
}
